package com.hl.service;



import com.hl.domain.SearchArticle;
import com.hl.mapper.SearchArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SearchArticleService {
    @Autowired
    private SearchArticleMapper searchArticleMapper;

    public List<SearchArticle> searchArticles(String query) {
        return searchArticleMapper.searchArticles(query);
    }
}
